<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>title</title>
</head>
<body>
<div id="app">
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
    let user={
        username:"yaya",
        password:"123456"
    };
    axios.post("http://localhost:8080/user/save",user).then(res=> {
        console.log(res.data);
    }).catch(err=> {
        console.log(err);
    });
</script>
<script>
    const app=new Vue({
        el:"#app",
    });
</script>
</body>
</html>